package main

import (
	"fmt"
	"html"
	"net/http"
)

type handler struct {
}

func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
	fmt.Fprintf(w, "Hello, %q", html.EscapeString(r.URL.Path))
}

func main() {

	svr := http.Server{Addr: ":8080", Handler: &handler{}}
	svr.ListenAndServe()
}
